home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 4RG1KE (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  718 b   |  18 lines

  1. package com.ibm.uvm.awt;
  2.  
  3. import java.awt.Component;
  4. import java.awt.Graphics;
  5. import sun.awt.image.Image;
  6.  
  7. public class UvmOffScreenImage extends UvmImage {
  8.    public UvmOffScreenImage(Component c, int w, int h) {
  9.       super(c, w, h);
  10.    }
  11.  
  12.    public Graphics getGraphics() {
  13.       Graphics g = new UvmGraphics(this);
  14.       ((Image)this).initGraphics(g);
  15.       return g;
  16.    }
  17. }
  18.